package com.gitee.kenewstar.migration.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.kenewstar.migration.constants.Const;
import com.gitee.kenewstar.migration.core.MigrationCode;
import com.gitee.kenewstar.migration.core.MigrationTenantId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author kenewstar
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "hpfm_lov", schema = Const.HZERO_PLATFORM)
public class Lov extends CommonDto {

    @TableId(type = IdType.AUTO)
    private Long lovId;
    @MigrationCode
    @ExcelProperty("值集编码")
    private String lovCode;
    private String lovTypeCode;
    private String routeName;
    private String lovName;
    private String description;
    @MigrationTenantId
    @ExcelProperty("租户ID")
    private Long tenantId;
    private String parentLovCode;
    private Long parentTenantId;
    private String customSql;
    private String customUrl;
    private String valueField;
    private String displayField;
    private String encryptField;
    private String decryptField;
    private Integer mustPageFlag;
    private Integer enabledFlag;
    private String translationSql;
    private Integer publicFlag;
    private String requestMethod;
}
